﻿using System;
namespace ZX.HIS.Model
{
	/// <summary>
	/// UserInfo:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class UserInfo
	{
		public UserInfo()
		{}
		#region Model
      
		private int _userid;
        private string  _departname;
		private int? _hospitalid;
		private string _username;
		private string _userpwd;
		private string _userchinesename;
		private int? _usersex;
		private string _userphone;
		private string _useremail;
		private int? _departid;
		private int? _usersecrecy;
		private int? _userstate;
        private int _authorid;
       
		/// <summary>
        /// 人员id
		/// </summary>
		public int UserId
		{
			set{ _userid=value;}
			get{return _userid;}
		}
        /// <summary>
        /// 科室名称
        /// </summary>
        public string DepartName
        {
            set { _departname = value; }
            get { return _departname; }
        }
        /// <summary>
        /// 权限Id
        /// </summary>
        public int AuthorId
        {
            set { _authorid = value; }
            get { return _authorid; }
        }
		/// <summary>
        /// 诊所id
		/// </summary>
		public int? HospitalId
		{
			set{ _hospitalid=value;}
			get{return _hospitalid;}
		}
		/// <summary>
        /// 登录账号（不可更改）
		/// </summary>
		public string UserName
		{
			set{ _username=value;}
			get{return _username;}
		}
		/// <summary>
        /// 密码
		/// </summary>
		public string UserPwd
		{
			set{ _userpwd=value;}
			get{return _userpwd;}
		}
		/// <summary>
        /// 中文名
		/// </summary>
		public string UserChineseName
		{
			set{ _userchinesename=value;}
			get{return _userchinesename;}
		}
		/// <summary>
        /// 性别
		/// </summary>
		public int? UserSex
		{
			set{ _usersex=value;}
			get{return _usersex;}
		}
		/// <summary>
        /// 手机号
		/// </summary>
		public string UserPhone
		{
			set{ _userphone=value;}
			get{return _userphone;}
		}
		/// <summary>
        /// 邮箱
		/// </summary>
		public string UserEmail
		{
			set{ _useremail=value;}
			get{return _useremail;}
		}
		/// <summary>
        /// 科室Id（可以为0）
		/// </summary>
		public int? DepartId
		{
			set{ _departid=value;}
			get{return _departid;}
		}
		/// <summary>
        /// 保密设置int
		/// </summary>
		public int? UserSecrecy
		{
			set{ _usersecrecy=value;}
			get{return _usersecrecy;}
		}
		/// <summary>
        /// 状态
		/// </summary>
		public int? UserState
		{
			set{ _userstate=value;}
			get{return _userstate;}
		}
		#endregion Model

	}
}

